import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/fonts/iconfont.css'
import {
  Button, Icon, Tabbar, TabbarItem, Swipe, SwipeItem,
  Grid, GridItem, Card, PullRefresh, List, NavBar, Tag,
  GoodsAction, GoodsActionIcon, GoodsActionButton, Popup,
  Stepper, Checkbox, CheckboxGroup, SwipeCell, SubmitBar,
  Toast, Form, Field, ContactCard, AddressList, AddressEdit,
  Search
} from 'vant'
// import axios from 'axios'
// Vue.prototype.$request = axios

Vue.use(Button)
  .use(Icon)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Swipe)
  .use(SwipeItem)
  .use(Grid)
  .use(GridItem)
  .use(Card)
  .use(PullRefresh)
  .use(List)
  .use(NavBar)
  .use(Tag)
  .use(GoodsAction)
  .use(GoodsActionIcon)
  .use(GoodsActionButton)
  .use(Popup)
  .use(Stepper)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(SwipeCell)
  .use(SubmitBar)
  .use(Toast)
  .use(Form)
  .use(Field)
  .use(ContactCard)
  .use(AddressList)
  .use(AddressEdit)
  .use(Search)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
